home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
BSCRIPTS.CST
/
00071_Script_qtvr-OnPlane
< prev
next >
Wrap
Text File
|
1999-04-25
|
2KB
|
81 lines
-- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
-- Developed for Bombardier, Inc.
--
-- All programming developed by:
-- Robert Fabricant, Valerie Valoueva, Ossi Shaked,
-- Henry Sauvageot, Chris Howell & Chris Girand
--
-- Use of this code by parties other than @radical.media, inc. or their
--agents
-- without the express written consent of @radical.media, inc. AND Concurrent
-- New Media Group, L.L.C. is strictly prohibited.
------------------------------------------------------
-------*This script is not used in this version of the movie*----------
property mySprite, neutral, roller
on new me
set mySprite = the spriteNum of me
set roller = the castNum of sprite mySprite
set neutral = roller + 1
return me
end
on mouseEnter me
global gPlane,gPImage
set the castnum of sprite mySprite to roller
updatestage
end
on mouseleave me
global gPlane,gPImage
set the castNum of sprite mySprite = neutral
set the ink of sprite mySprite to 39
set lastMenuItemSprNum = getSpriteNumFromMemberName ("anchor")+1
set maxLocV = the bottom of sprite lastMenuItemSprNum
if (the mouseh<=598 or the mouseh >= 762 or the mousev <=84 ¼
or the mousev >= maxLocV) then
set the castNum of sprite mySprite = roller
set the ink of sprite mySprite = 0
end if
updatestage
end
on mouseup me
global gPlane,gPImage
--back to QTVR button
set the visible of sprite 22 to false
puppetSprite 22, false
updatestage
if gPlane <> the spritenum of me then
set gPlane = the spritenum of me
set gPImage = the castnum of sprite the spritenum of me -1
end if
set the castnum of sprite mySprite = neutral
set the ink of sprite mySprite = 0
sound stop(1)
sound stop(2)
set startSprNum = getSpriteNumFromMemberName ("anchor")+1
set range = getNumOfSprInCluster("anchor")-1
set mySprNum = the spritenum of me
repeat with spriteNum = startSprNum to startSprNum+range
if spriteNum = mySprNum then
set soundNum = range-(spriteNum-startSprNum)+1
puppetSound 3,"tunfork"&soundNum
pass
exit
end if
end repeat
end